<template>
  <view v-html="company"></view>
</template>

<script>
import { onLoad } from '@dcloudio/uni-app';
export default {
  data() {
    return {
      company: ''
    };
  },
  onLoad(options) {
    console.log(options.data);
    var that = this;
    uni.request({
      url: that.app.apiHost + '/richtext',
      method: 'get',
      header: { Authorization: '' },
      data: {
        ids: options.data
      },
      success: (data) => {
        if (data.data.code == '1') {
          this.company = data.data.data.content;
        }
      }
    });
  },
  methods: {}
};
</script>

<style></style>
